/*
 * @Author: juneChen && junechen_0606@163.com
 * @Date: 2023-06-02 15:45:53
 * @LastEditors: juneChen && juneswoole@163.com
 * @LastEditTime: 2023-09-04 12:00:46
 * @Description: ICRUD 数据字典
 * 
 */

export default {
    namespaced: true,
    state: {
        //状态 数据字典
        statusDict:[
            {
                value: 'Normal',
                label: "正常",
                color: "green",
            },{
                value: 'Forbidden',
                label: "禁用",
                color: "red",
            },
        ],
        //是否展示 数据字典
        showDict:[
            {
                value: 1,
                label: "显示",
                color: "green",
            },{
                value: 0,
                label: "隐藏",
                color: "red",
            },
        ],
        //是否 数据字典
        whetherDict:[
            {
                value: 1,
                label: "是",
                color: "green",
            },{
                value: 0,
                label: "否",
                color: "red",
            },
            
        ],
        //开关 数据字典
        switchDict:[
            {
                value: 1,
                label: "开",
                color: "green",
            },{
                value: 0,
                label: "关",
                color: "red",
            },
            
        ],
        
        //性别 数据字典
        genderDict:[
            {
                value: 1,
                label: "男",
                color: "blue",
            },
            {
                value: 2,
                label: "女",
                color: "magenta",
            },
            {
                value: 3,
                label: "保密",
            },
        ]
    }
}